package com.gddb.xwj.utils;

import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * @Author xuwj
 * @Description: ${todo}
 * @CreateTime 2020/1/17 1:50
 * @Version 1.0
 */
@Component
public class TokenUtil {
    public String getToken(){
        return UUID.randomUUID().toString();
    }

    public String getPayToken(){
        return "pay-"+UUID.randomUUID().toString();
    }
}
